import { loginreq, req } from './axiosFun';

// 登录接口 
export const login = (params) => { return loginreq("post", "/api/m/User/Login", params) };

/**
 * 用户管理 
 **/
// 用户管理-获取用户列表
export const userList = (params) => { return req("post", "/api/m/User/List", params) };
// 资产列表

export const AssetList = (params) => { return req("post", "/api/m/Asset/AssetList", params) };
export const PreAsset = () => { return req("post", "/api/m/Asset/PreAsset") };
export const CommitAsset = (params) => { return req("post", "/api/m/Asset/CommitAsset",params) };
export const AssetTypeOfValues = (params) => { return req("post", "/api/m/Asset/AssetTypeOfValues",params) };
export const AUsdList = (params) => { return req("post", "/api/m/Asset/AUsdList",params) };
export const GetNftMintResult = (params) => { return req("post", "/api/m/Asset/GetNftMintResult",params) };
export const GetAUsdResult = (params) => { return req("post", "/api/m/Asset/GetAUsdResult",params) };
export const GetAssetInfo = (params) => { return req("post", "/api/m/Asset/GetAssetInfo",params) };



export const GetSwapList = (params) => { return req("post", "/api/m/Swap/GetSwapList",params) };
export const CommitA = (params) => { return req("post", "/api/m/Swap/CommitA",params) };
export const CommitB = (params) => { return req("post", "/api/m/Swap/CommitB",params) };
export const ConfirmBothAsset = (params) => { return req("post", "/api/m/Swap/ConfirmBothAsset",params) };
export const AUSDConfirm = (params) => { return req("post", "/api/m/Swap/AUSDConfirm",params) };
export const GetContractResult = (params) => { return req("post", "/api/m/Swap/GetContractResult",params) };









